package com.own.component.autoconfig.config.all;

import com.own.component.autoconfig.config.common.UseComponentCommon;
import com.own.component.autoconfig.config.confirm.UseComponentConfirm;
import com.own.component.autoconfig.config.elastic.UseComponentElastic;
import com.own.component.autoconfig.config.flink.UseComponentFlink;
import com.own.component.autoconfig.config.log.UseComponentLog;
import com.own.component.autoconfig.config.login.UseComponentLogin;
import com.own.component.autoconfig.config.message.UseComponentMessage;
import com.own.component.autoconfig.config.mybatis.UseComponentMybatis;
import com.own.component.autoconfig.config.netty.UseComponentNetty;
import com.own.component.autoconfig.config.redis.UseComponentRedis;
import com.own.component.autoconfig.config.security.UseComponentSecurity;
import com.own.component.autoconfig.config.store.UseComponentStore;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * EnableUseOwnComponent
 *
 * @author chenxueli
 * @date 2022-08-11 16:17:00
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Documented
@Import({UseComponent.class,
        UseComponentCommon.class,
        UseComponentConfirm.class,
        UseComponentElastic.class,
        UseComponentFlink.class,
        UseComponentLog.class,
        UseComponentLogin.class,
        UseComponentMessage.class,
        UseComponentMybatis.class,
        UseComponentNetty.class,
        UseComponentRedis.class,
        UseComponentSecurity.class,
        UseComponentStore.class,
})
public @interface EnableUseComponent {
}
